package com.lf.mapper;

import com.lf.model.EbOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    List<EbOrder> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    int  save(EbOrder ebOrder);
    int delete (Integer eoId);
    int updateByPrimaryKey(EbOrder ebOrder);

    int getMaxPage(int pageSize);
    EbOrder findById(int eoId);
}
